#ifndef ODE_OBJECT_H
#define ODE_OBJECT_H

#include <ode/ode.h>

class cOdeObject
{
public:
	dBodyID body;
	dGeomID geom;

	virtual ~cOdeObject();
	virtual void render() const;
	void setPosition(dReal x,dReal y,dReal z);
	void getPosition(dVector3 vec) const;
protected:
	virtual void renderInLocalFrame() const = 0;
};
 
#endif // ODE_OBJECT_H